import Layout from '@/page/index/'
export default [{
    path: '/wel',
    component: Layout,
    redirect: '/wel/index',
    children: [{
        path: 'index',
        name: '首页',
        component: () =>
            import( /* webpackChunkName: "views" */ '@/page/wel')
    }]

}, {
    path: '/info',
    component: Layout,
    redirect: '/info/index',
    children: [{
        path: 'index',
        name: '个人信息',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/admin/user/info'),
    }]
}, {
    path: '/rms',
    component: Layout,
    name: '店铺管理',
    redirect: '/rms/index',
    children: [{
        path: 'index',
        name: '商家列表',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/rms/index'),
    }, {
        path: 'audit',
        name: '审核',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/rms/audit'),
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    }, {
        path: 'details',
        name: '详情',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/rms/details'),
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    }, {
        path: 'set',
        name: '设置平台店铺',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/rms/set'),
    },{
      path: 'twoIndex',
      name: '商家二次审核',
      component: () =>
          import( /* webpackChunkName: "page" */ '@/views/rms/twoIndex'),
    }]
}, {
    path: '/home',
    component: Layout,
    name: '首页管理',
    redirect: '/home/banner',
    children: [{
        path: 'banner',
        name: '轮播图列表',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/home/banner'),
    }, {
        path: 'label/index',
        name: '首页标签列表',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/home/label/index'),
    }, {
        path: 'label/add',
        name: '标签下商品',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/home/label/add'),
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    }, {
        path: 'activity/index',
        name: '活动专区',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/home/activity/index'),
    }, {
        path: 'bestSele/index',
        name: '热卖区',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/home/bestSele/index'),
    }, {
        path: 'bestSele/add',
        name: '配置商品',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/home/bestSele/add'),
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    }]
}, {
    path: '/profit',
    component: Layout,
    name: '收益管理',
    redirect: '/profit/oneLevel',
    children: [{
        path: 'oneLevel/index',
        name: '一级收益设置列表',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/profit/oneLevel/index'),
    }, {
        path: 'totalRevenue/index',
        name: '总收益',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/profit/totalRevenue/index'),
    }, {
        path: 'other/index',
        name: '其他收益',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/profit/other/index'),
    }, {
        path: 'productRebate/index',
        name: '商品返点列表',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/profit/productRebate/index'),
    }, {
        path: 'productRebate/add',
        name: '商品返点设置',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/profit/productRebate/add'),
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    }, {
        path: 'shop/index',
        name: '店铺收益',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/profit/shop/index'),
    }, {
        path: 'shop/details',
        name: '店铺总收入金额明细',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/profit/shop/details'),
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    }, {
        path: 'technology/index',
        name: '技术收益',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/profit/technology/index'),
    }, {
        path: 'member/index',
        name: '会员收益',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/profit/member/index'),
    }, {
        path: 'member/details',
        name: '会员收益总收入金额明细',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/profit/member/details'),
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    }]
}, {
    path: '/pms',
    component: Layout,
    name: '商品管理',
    redirect: '/pms/produet/index',
    children: [
        {
            path: 'produet/index',
            name: '商品列表',
            component: () =>
                import( /* webpackChunkName: "page" */ '@/views/pms/produet/index'),
        }, {
            path: 'produet/examine',
            name: '审核',
            component: () =>
                import( /* webpackChunkName: "page" */ '@/views/pms/produet/examine'),
            meta: {
                keepAlive: true,
                isTab: false,
                isAuth: false
            }
        }, {
            path: 'produet/see',
            name: '查看详情',
            component: () =>
                import( /* webpackChunkName: "page" */ '@/views/pms/produet/see'),
            meta: {
                keepAlive: true,
                isTab: false,
                isAuth: false
            }
        }, {
            path: 'produet/shelf',
            name: '下架',
            component: () =>
                import( /* webpackChunkName: "page" */ '@/views/pms/produet/shelf'),
            meta: {
                keepAlive: true,
                isTab: false,
                isAuth: false
            }
        }, {
            path: 'produetAttribute/index',
            name: '销售属性列表',
            component: () =>
                import( /* webpackChunkName: "page" */ '@/views/pms/produetAttribute/index'),
        }, {
            path: 'produetAttribute/specifications',
            name: '规格名称列表',
            component: () =>
                import( /* webpackChunkName: "page" */ '@/views/pms/produetAttribute/specifications'),
            meta: {
                keepAlive: true,
                isTab: false,
                isAuth: false
            }
        }, {
            path: 'produetSort/index',
            name: '分类审核列表',
            component: () =>
                import( /* webpackChunkName: "page" */ '@/views/pms/produetSort/index'),
        }, {
            path: 'produetSort/examine',
            name: '审核',
            component: () =>
                import( /* webpackChunkName: "page" */ '@/views/pms/produetSort/examine'),
            meta: {
                keepAlive: true,
                isTab: false,
                isAuth: false
            }
        }, {
            path: 'produetSort/see',
            name: '详情',
            component: () =>
                import( /* webpackChunkName: "page" */ '@/views/pms/produetSort/see'),
            meta: {
                keepAlive: true,
                isTab: false,
                isAuth: false
            }
        }, {
            path: 'freight/index',
            name: '运费管理',
            component: () =>
                import( /* webpackChunkName: "page" */ '@/views/pms/freight/index'),
        }, {
            path: 'freight/details',
            name: '详情',
            component: () =>
                import( /* webpackChunkName: "page" */ '@/views/pms/freight/details'),
            meta: {
                keepAlive: true,
                isTab: false,
                isAuth: false
            }
        }]
}, {
    path: '/config',
    component: Layout,
    name: '配置管理',
    redirect: '/config/storeWechat',
    children: [{
        path: 'storeWechat/index',
        name: '店铺微信配置',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/config/storeWechat/index'),
    }, {
        path: 'platform/index',
        name: '平台配置',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/config/platform/index'),
    }, {
        path: 'gift/index',
        name: '礼品卷配置',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/config/gift/index'),
    }, {
        path: 'app/index',
        name: 'APP更新配置',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/config/app/index'),
    }]
}, {
    path: '/wdrawal',
    component: Layout,
    name: '提现管理',
    redirect: '/wdrawal/index',
    children: [{
        path: 'index',
        name: '用户提现列表',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/wdrawal/index'),
    }]
},{
    path: '/marke',
    component: Layout,
    name: '营销管理',
    redirect: '/marke/gift',
    children: [{
        path: 'giftPay/index',
        name: '礼品卷合作支付',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/marke/giftPay/index'),
    }, {
        path: 'gift/index',
        name: '礼品卷',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/marke/gift/index'),
    }, {
        path: 'gift/giftAdd',
        name: '添加礼品卷',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/marke/gift/add'),
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    }, {
        path: 'gift/details',
        name: '详情',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/marke/gift/details'),
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    }, {
        path: 'gift/produte',
        name: '绑定商品',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/marke/gift/produte'),
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    }, {
        path: 'coupon/index',
        name: '优惠券',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/marke/coupon/index'),
    }]
}, {
    path: '/oms',
    component: Layout,
    name: '订单管理',
    redirect: '/oms/oder',
    children: [{
        path: 'oder/index',
        name: '订单列表',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/oms/oder/index'),
    }, {
        path: 'oder/details',
        name: '详情',
        component: () =>
            import( /* webpackChunkName: "page" */ '@/views/oms/oder/details'),
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    }]
},{
  path: '/found',
  component: Layout,
  name: '发现页',
  redirect: '/found/list',
  children: [{
    path: 'content/index',
    name: '内容列表',
    component: () =>
            import( /* webpackChunkName: "page" */ '@/views/found/content/index'),
  },{
    path: 'content/details',
    name: '详情',
    component: () =>
        import( /* webpackChunkName: "page" */ '@/views/found/content/details'),
    meta: {
        keepAlive: true,
        isTab: false,
        isAuth: false
    }
  },{
    path: 'content/examine',
    name: '审核',
    component: () =>
        import( /* webpackChunkName: "page" */ '@/views/found/content/examine'),
    meta: {
        keepAlive: true,
        isTab: false,
        isAuth: false
    }
  },{
    path: 'content/resend',
    name: '重发',
    component: () =>
        import( /* webpackChunkName: "page" */ '@/views/found/content/resend'),
    meta: {
        keepAlive: true,
        isTab: false,
        isAuth: false
    }
  },{
    path: 'column/index',
    name: '栏目列表',
    component: () =>
            import( /* webpackChunkName: "page" */ '@/views/found/column/index'),
  },{
    path: 'user/index',
    name: '会员博主',
    component: () =>
            import( /* webpackChunkName: "page" */ '@/views/found/user/index'),
  }]
}


]
